/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #7a77ff;
  --ifm-color-primary-dark: #5552ff;
  --ifm-color-primary-darker: #433fff;
  --ifm-color-primary-darkest: #0c07ff;
  --ifm-color-primary-light: #9f9cff;
  --ifm-color-primary-lighter: #b1afff;
  --ifm-color-primary-lightest: #e8e7ff;
  --ifm-code-font-size: 95%;
}

.docusaurus-highlight-code-line {
  background-color: rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 calc(-1 * var(--ifm-pre-padding));
  padding: 0 var(--ifm-pre-padding);
}

html[data-theme='dark'] .docusaurus-highlight-code-line {
  background-color: rgba(0, 0, 0, 0.3);
}

.logo {
  float: right;
}

@media (max-width: 768px) {
  .logo {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

@media (min-width: 3160px) {
  .container {
    max-width: 2440px;
  }
}

.menu {
  display: flex;
  flex-direction: column;
}

@media (width >= 997px) {
  .menu {
    justify-content: space-between;
  }
}

#bwndw {
  order: 2;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;

  &.bwndw-loading {
    opacity: 0;
  }
}

.eab {
  margin: calc(var(--ifm-menu-link-padding-horizontal) + 0.5rem) 0 0 -0.5rem;
}

.crbn {
  margin: calc(var(--ifm-menu-link-padding-horizontal) + 0.5rem) 0.5rem 0 0;

  &.dark #carbon-responsive {
    --carbon-bg-primary: transparent;
    --carbon-bg-secondary: var(--ifm-toc-border-color);
    --carbon-text-color: hsl(0, 0%, 80%);
  }
}
